﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demos.DesignPatterns._02_FactoryMethod
{
    /// <summary>
    /// 支付宝工厂
    /// </summary>
    public class AlipayFactory : PaymentFactory
    {
        public override IPayment CreatePayment() => new Alipay();
    }
}
